import request from '@/utils/request'
/**
 * 客户联系人
 **/

export function get(data) {
  return request({
    url: '/api/v1/SysBusinessCustomerPerson/Get',
    method: 'get',
    params: data
  })
}

export function getList(data) {
  return request({
    url: '/api/v1/SysBusinessCustomerPerson/GetList',
    method: 'post',
    data
  })
}

export function create(data) {
  return request({
    url: '/api/v1/SysBusinessCustomerPerson/Create',
    method: 'post',
    data
  })
}

export function deleteRecord(data) {
  return request({
    url: '/api/v1/SysBusinessCustomerPerson/Delete',
    method: 'delete',
    data
  })
}

export function update(data) {
  return request({
    url: '/api/v1/SysBusinessCustomerPerson/Update',
    method: 'post',
    data
  })
}
